home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / xinfo101.lha / xinfo-1.01.01 / XInfo.ad < prev    next >
Text File  |  1991-01-09  |  8KB  |  207 lines

  1. ! $Header: /usr3/xinfo/RCS/XInfo.ad,v 1.3 91/01/07 14:02:33 jkh Exp $
  2. !
  3. !                    Copyright 1989, 1990
  4. !                     Jordan K. Hubbard
  5. !                 PCS Computer Systeme, GmbH.
  6. !                    Munich, West Germany
  7. !  This file is part of GNU Info widget.
  8. !  The GNU Info widget is free software; you can redistribute it and/or
  9. !  modify it under the terms of the GNU General Public License as published
  10. !  by the Free Software Foundation; either version 1, or (at your option)
  11. !  any later version.
  12. !  This software is distributed in the hope that it will be useful,
  13. !  but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. !  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. !  GNU General Public License for more details.
  16. !  You should have received a copy of the GNU General Public License
  17. !  along with this software; see the file COPYING.  If not, write to
  18. !  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  19. !
  20. !
  21. ! Here lie the general resource settings for the XInfo widget. Everything
  22. ! here should be customizable (within reason) without changing basic
  23. ! functionality too much, so feel free to adjust accelerator keys and/or
  24. ! appearances to suit your personal taste. Look in the README file for a
  25. ! description of what each action does before changing accelerators.
  26. !
  27. ! $Log:    XInfo.ad,v $
  28. # Revision 1.3  91/01/07  14:02:33  jkh
  29. # # comment char changed to more proper !. Some redundant resource entries
  30. # deleted.
  31. ! Revision 1.2  90/11/11  21:20:12  jkh
  32. ! Release 1.01
  33. ! Revision 1.1  90/11/06  15:43:18  jkh
  34. ! Initial revision
  35.  
  36.  
  37. !
  38. ! General xinfo client defaults:
  39.  
  40. XInfo*Accelerators: #override \n\
  41.     <Key>1:        info_menusel(1)\n\
  42.     <Key>2:        info_menusel(2)\n\
  43.     <Key>3:        info_menusel(3)\n\
  44.     <Key>4:        info_menusel(4)\n\
  45.     <Key>5:        info_menusel(5)\n\
  46.     <Key>6:        info_menusel(6)\n\
  47.     <Key>7:        info_menusel(7)\n\
  48.     <Key>8:        info_menusel(8)\n\
  49.     <Key>9:        info_menusel(9)\n\
  50.     <Key>Help:    info_popupHelp()\n\
  51.     <Key>question:    info_popupHelp()\n\
  52.     Meta<Key>P:    info_print()\n\
  53.     None<Key>d:    info_dir()\n\
  54.     None<Key>f:    info_xref()\n\
  55.     None<Key>g:    info_goto()\n\
  56.     None<Key>h:    info_tutorial()\n\
  57.     None<Key>l:    info_last()\n\
  58.     None<Key>m:    info_menusel(0)\n\
  59.     None<Key>n:    info_next()\n\
  60.     None<Key>p:    info_prev()\n\
  61.     None<Key>q:    info_quit()\n\
  62.     None<Key>s:    info_nodeSearch()\n\
  63.     None<Key>t:    info_top()\n\
  64.     None<Key>u:    info_up()\n
  65.  
  66. XInfo.geometry:                    600x600
  67. XInfo*IconPixmap:                xinfo.bm
  68.  
  69. ! These look nice on color systems; enable if you want a flashier interface.
  70. !
  71. !XInfo*Background:                MidNightBlue
  72. !XInfo*Foreground:                Azure
  73. !XInfo*BorderColor:                LightCyan1
  74. !XInfo*info.pane1*Command.Foreground:        Gold
  75. !XInfo*info.pane1*Command.Background:        RoyalBlue3
  76. !XInfo*info.pane1*Label.Foreground:        Yellow
  77. !XInfo*info.pane1*Label.Background:        RoyalBlue4
  78. !XInfo*info.help*Background:            DarkGoldenRod
  79. !XInfo*info.need_argument*Background:        Brown
  80.  
  81. !
  82. ! More specific xinfo widget defaults:
  83.  
  84. XInfo*ShapeStyle:                Oval
  85. XInfo*Font:                    7x13
  86. XInfo*info.pane1*Command.borderWidth:        2
  87. XInfo*info.pane1.box1*Command.Font:        6x13
  88. XInfo*info.pane1.*.vertical.Translations:    #override \n\
  89.   <Key>space:  StartScroll(Forward)  NotifyScroll(FullLength) EndScroll() \n\
  90.   <Key>Delete: StartScroll(Backward) NotifyScroll(FullLength) EndScroll() \n
  91.  
  92. XInfo*info.pane1.vport1.height:            60
  93. XInfo*info.pane1.vport1.min:            60
  94. XInfo*info.pane1.vport1.max:            9999
  95.  
  96. XInfo*info.pane1.vport1.menu.pasteBuffer:    True
  97. XInfo*info.pane1.vport1.menu.height:        150
  98. XInfo*info.pane1.vport1.menu.columnSpacing:    8
  99.  
  100. XInfo*info.pane1.nodeText.height:        500
  101. XInfo*info.pane1.nodeText.wrap:            Word
  102. XInfo*info.pane1.nodeText.autoFill:        True
  103. XInfo*info.pane1.nodeText.scrollVertical:    WhenNeeded
  104. XInfo*info.pane1.nodeText.Translations:    #override \n\
  105.     None<Key>b:    beginning-of-file() \n\
  106.     <Key>Home:    beginning-of-file() \n\
  107.     <Key>Delete:    previous-page() \n\
  108.     <Key>Prior:    previous-page() \n\
  109.     <Key>Next:    next-page() \n\
  110.     <Key>space:    next-page() \n\
  111.     None<Btn1Down>: select-end() info_click() \n
  112.  
  113. XInfo*info.pane1.vport2.height:            30
  114. XInfo*info.pane1.vport2.min:            20
  115. XInfo*info.pane1.vport2.max:            9999
  116.  
  117. XInfo*info.pane1.vport2.xref.pasteBuffer:    True
  118. XInfo*info.pane1.vport2.xref.defaultColumns:    6
  119. XInfo*info.pane1.vport2.xref.columnSpacing:    8
  120.  
  121. XInfo*info.pane1.box2.height:            30
  122. XInfo*info.pane1.box2.min:            30
  123. XInfo*info.pane1.box1*Command.Justify:        JustifyCenter
  124.  
  125. XInfo*info.pane1.box2.arg.width:        200
  126. XInfo*info.pane1.box2.arg.allowResize:        True
  127. XInfo*info.pane1.box2.arg.resize:        True
  128. XInfo*info.pane1.box2.arg.borderWidth:        2
  129. XInfo*info.pane1.box2.arg.translations:        #override \n\
  130.      <Key>Return: confirm() \n\
  131.      Ctrl<Key>G:  abort() \n
  132.  
  133. XInfo*info.pane1.status.height:            20
  134. XInfo*info.pane1.status.min:            20
  135. XInfo*info.pane1.status.max:            20
  136.  
  137. XInfo*info.pane1.message.height:        20
  138. XInfo*info.pane1.message.min:            20
  139. XInfo*info.pane1.message.max:            20
  140.  
  141. !
  142. ! Help popup resources
  143.  
  144. XInfo*info.help.height:                300
  145. XInfo*info.help.width:                400
  146. XInfo*info.help.pane.text.scrollVertical:    WhenNeeded
  147. XInfo*info.help.pane.text.wrap:            Word
  148. XInfo*info.help.pane.text.translations:        #override \n\
  149. None<Key>q:    MenuPopdown(help) \n\
  150. None<Key>b:    beginning-of-file() \n\
  151. <Key>Home:    beginning-of-file() \n\
  152. <Key>Delete:    previous-page() \n\
  153. <Key>Prior:    previous-page() \n\
  154. <Key>Next:    next-page() \n\
  155. <Key>space:    next-page() \n
  156. XInfo*info.help.pane.text.textSource.string: \
  157. The following keys are recognized by the Info Widget: \n\n\
  158. Key        Action \n\
  159. ----        ------ \n\
  160. B        Beginning of Node \n\
  161. Home        Same as above* \n\
  162. D        Goto Directory \n\
  163. F        Follow reference \n\
  164. G        Goto node \n\
  165. H        Info tutorial \n\
  166. L        Last node selected \n\
  167. M        Select menu by name \n\
  168. N        Next node \n\
  169. P        Previous node \n\
  170. S        Search for node \n\
  171. T        Top node \n\
  172. U        Up node \n\
  173. 0-9        Select menu by number \n\
  174. <DEL>        Back page \n\
  175. Prev Page    Same as above* \n\
  176. <SPACE>        Forward page \n\
  177. Next Page    Same as above* \n\
  178. Meta-P        Send current node to printer. \n\
  179. ?        Print this help \n\
  180. Help        Same as above* \n\n\
  181. * If supported on your keyboard.\n\n\
  182. The info widget command set attempts to emulate that of Emacs Info as closely as possible, but there are a few notable exceptions. Like Emacs Info, the current file, node name and possible values for Up, Previous and Next are displayed in the first pane. You can, of course, also click on any of the Up, Prev or Next buttons to cause the corresponding node (if any) to be selected. Possible menu items are displayed in the second pane as a multiple-choice list. If more menu items exist than will fit in the space allotted, a scrollbar is added.\n\n\
  183. The third pane contains the node text. It can be scrolled with the accompanying scrollbar or any of the previously mentioned paging keys.\n\n\
  184. The fourth pane contains a multiple choice list of any cross references (if any) in this node. It is dealt with in the same manner as the menu list.\n\n\
  185. The fifth pane contains buttons for more direct navigation within the info tree. All take their argument(s) from the text area to the right of the search button (as do the F, G, M and S keys) or, if none is specified, from a popup requestor that will automatically appear. Unlike Emacs Info, keyword completion is not provided. This remains the primary difference between this widget and Emacs Info and should be kept in mind when using the Emacs Info tutorial.\n\n\
  186. The sixth and seventh panes are the status and message areas, respectively.\n
  187.  
  188. !
  189. ! Argument dialog popup resources
  190.  
  191. XInfo*info.need_argument.dialog.value.translations:    #override \n\
  192.      <Key>Return: confirm() \n\
  193.      Ctrl<Key>G:  abort() \n
  194. XInfo*info.need_argument.dialog.confirm.horizDistance:    20
  195. XInfo*info.need_argument.dialog.confirm.Label:        Confirm
  196. XInfo*info.need_argument.dialog.abort.Label:        Abort
  197.